home *** CD-ROM | disk | FTP | other *** search
- #include "bldraw.h"
-
- BlockDraw::BlockDraw(rect coord)
- {
- w1 = new Window(coord, "", "", 0, NO_BORDER, NO_BORDER, FIXED);
-
- background(w1);
-
- rect r = textRect(w1->bound());
-
- draw = new Draw(r);
-
- add(draw);
- draw->set_ret(1);
-
- }
- /////////////////////
- void BlockDraw::rearrange()
- {
- rect coord = textRect(w1->bound());
- draw->repose(coord);
- }
-